package im.starchat.chat.utils;

import im.starchat.chat.rest.model.RoomBean;
import tencent.tls.tools.I18nMsg;

public class Constants {

    public static final int DEMO_ERROR_BASE = -99999999;
    /**
     * 空指针
     */
    public static final int DEMO_ERROR_NULL_POINTER = DEMO_ERROR_BASE + 1;


    public static final int APPID = 1400007592;

    public static final String ACCOUNTTYPE = "3812";


    public static final String LOCAL_DATA = "local_data";

    public static final String LOCAL_USERNAME = "username";

    public static final String LOCAL_SEX = "sex";

    public static final String LOCAL_CONSTELLATION = "UserConstellation";

    public static final String LOCAL_PRAISECOUNT = "PraiseCount";

    public static final String LOCAL_SIGNATURE = "UserSignature";

    public static final String LOCAL_ADDR = "UserAddr";

    public static final String LOCAL_HEAD_IMAGE_PATH = "HeadImagePath";

    public static final String LOCAL_ENV = "Env";

    public static final String LOCAL_USERSIG = "Usersig";

    public static final String LOCAL_PHONE = "phonenumber";

    public static final int DANMU_PRICE = 10;

    public static final int FLV = 1;

    public static final int HLS = 2;

    public static final int RTMP = 5;

    public static boolean isCreater = false;
    public static boolean isPublish = false;


    //初始的礼物的id
    public static final int NULL_POSITION = -1;

    //点击的礼物的id
    public static int sChooseId = NULL_POSITION;

    private static RoomBean mChooseRoomBean = null;

    public static RoomBean getChooseRoomInfo(){
        return mChooseRoomBean;
    }

    public static void setChooseRoomInfo(RoomBean roomBean ){
        mChooseRoomBean = roomBean;
    }

    public static enum MESSAGETYPE{
        MESSAGE,
        GIFTMESSAGE,
        IMG
    }

}
